<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function a(min, max) {
				var arr = [];
				for(var i = 0; i < 5; i++) {
					var it = max - min
					var atom = Math.ceil(Math.random() * it) + min
					if(arr.length) {
						for(key in arr) {
							if(arr[key] == atom){
								i--
								continue
							}
						}
					}
					arr.push(atom)
				}
				console.log(arr)
			}
			a(0,100);
		</script>
	</head>

	<body>
	</body>

</html>